<div data-ng-init="initAttSearch('dzwbhjc',
    {url:'/sz_jc/MapServer/0',
    infoTemplateTitle:'动植物保护详情',
    infoTemplateContent:'dzwbhjc_temp',
    medname:'zyjc_zy_jg2018',
    fieldUseZh:false,
    infoWindowWidth:340,
    infoWindowHeiht:240,
    pageSize:7});">

    <div id="dzwbhjc_temp" style="display:none">
        <div class="container">
            <table width="100%" class="table-b">
                <!-- 资源信息 -->
                <tr> <td width="40%" style="text-align: right;" >乡:</td> <td width="60%" style="text-align: left;">~{XIANG_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >村:</td> <td width="60%" style="text-align: left;">~{CUN_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >林班:</td> <td width="60%" style="text-align: left;">~{LIN_BAN}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >小班:</td> <td width="60%" style="text-align: left;">~{XIAO_BAN}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >地类:</td> <td width="60%" style="text-align: left;">~{DI_LEI_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >森林类别:</td> <td width="60%" style="text-align: left;">~{SEN_LIN_LB_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >面积:</td> <td width="60%" style="text-align: left;">~{MIAN_JI}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >项目名称:</td> <td width="60%" style="text-align: left;">~{XMMC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >变化原因:</td> <td width="60%" style="text-align: left;">~{BHYY_DESC}</td> </tr>

                <!-- 动植物保护 -->
                <tr> <td width="40%" style="text-align: right;" >物种名称:</td> <td width="60%" style="text-align: left;">~{DZWMC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >保护等级:</td> <td width="60%" style="text-align: left;">~{BHDJ_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >数量:</td> <td width="60%" style="text-align: left;">~{SL}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >监测状态:</td> <td width="60%" style="text-align: left;">~{BHLX_DESC}</td> </tr>

                <!-- 核查信息
                <tr> <td width="40%" style="text-align: right;" >照片:</td> <td width="60%" style="text-align: left;">~{ZP}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >附件:</td> <td width="60%" style="text-align: left;">~{FJ}</td> </tr> -->
                <tr> <td width="40%" style="text-align: right;" >备注:</td> <td width="60%" style="text-align: left;">~{BZ}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >核查状态:</td> <td width="60%" style="text-align: left;">~{HCZT_DESC}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >核实人员:</td> <td width="60%" style="text-align: left;">~{HSRY}</td> </tr>
                <tr> <td width="40%" style="text-align: right;" >核实时间:</td> <td width="60%" style="text-align: left;">~{HSSJ}</td> </tr>
            </table>
        </div>
    </div>

    <div class="search" ng-show="searchOpen">
        <h4 class="title">动植物保护查询</h4>
        <div class="zs-form-tab">
            <table width="100%">
                <tbody>
                    <tr>
                        <td class="right" width="28%">乡</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;" fn='rXIANG' para="{	uDictionary:true,
                                                        dictionary:'p_administrative',
                                                        nfn:'rCUN',
                                                        pDicId:'440307',
                                                        pidField:'pid'}"
                                ng-model='gisObject.dzwbhjc.attribute["XIANG"]' text-Value="xiang" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">村</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;" fn='rCUN' para="{	uDictionary:true,
                                                        dictionary:'p_administrative',
                                                        pfn:'rXIANG',
                                                        pidField:'pid'}"
                                ng-model='gisObject.dzwbhjc.attribute["CUN"]' text-Value="cun" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">项目名称</td>
                        <td>
                            <input class="zs-input" type="text"
                                   ng-model='gisObject.dzwbhjc.attribute["XMMC"]'>
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">物种名称</td>
                        <td>
                            <input class="zs-input" type="text" ng-model='gisObject.dzwbhjc.attribute["DZWMC"]'>
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">保护等级</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;" para="{	uDictionary:true,
                                            addSpace:true,
                                            dictionary:'bhdj'}"
                                ng-model='gisObject.dzwbhjc.attribute["BHDJ"]' text-Value="BHDJ" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%">监测状态</td>
                        <td>
                            <ag-Combobox class="zs-input" style="width:204px;height: 28px;" para="{	uDictionary:true,
                                            addSpace:true,
                                            dictionary:'bhlx'}"
                                ng-model='gisObject.dzwbhjc.attribute["BHLX"]' text-Value="BHLX" />
                        </td>
                    </tr>
                    <tr>
                        <td class="right" width="28%"></td>
                        <td style="text-align:left;">
                            <label><input type="checkbox" ng-model="gisObject.dzwbhjc.extent" ng-true-value="true"
                                    ng-false-value="false">视图范围内查询</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="center" colspan="2">
                            <input type="button" name="ok" value="查询" class="zs-btn" ng-click="attSearchEx('dzwbhjc','9') && setSearchOpen(false);">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="result ng-hide" ng-show="!searchOpen">
        <a class="back" ng-click="clearSearchResult('dzwbhjc');setSearchOpen(true);">返回</a>
        <ul class="list">
            <li class="item" ng-repeat="result in gisObject.dzwbhjc.pageList" ng-mousemove="highFeatureSelectGraphic(result.attributes._guid);"
                ng-mouseleave="featureSelectGraphic(result.attributes._guid);">
                <p><a ng-click="setGraphicExtent(result.attributes._guid);showInfoWindow(result.attributes._guid);">
                        {{result.attributes['XIANG_DESC']}} - {{result.attributes['CUN_DESC']}} -
                        {{result.attributes['DZWMC']}}
                    </a></p>
                <p>
                    保护等级:{{result.attributes['BHDJ_DESC']}} - 监测状态:{{result.attributes['BHLX_DESC']}}
                </p>
            </li>
        </ul>
        <ag-Gis-Page fn='dzwbhjc'></ag-Gis-Page>
    </div>
</div>